package TwoDay;

import java.util.Scanner;

public class NumSort1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.printf("请输入任意两个值");
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int max = 0;
        System.out.printf("最大值为：");
        if (a>b){
            max=a;
        }else {
            max=b;
        }
        System.out.println("max = " + max);
        
        
    }
}
